package com.troll.wanandroid.viewmodel

import androidx.lifecycle.rxLifeScope
import com.troll.base.BaseViewModel
import com.troll.wanandroid.repo.SystemRepo

/**
 *
 * @Author:   TangPeng
 * @Time:     6/10/21
 * @Remark:
 */
class SystemViewModel : BaseViewModel() {

    private val repo = SystemRepo()
    val liveKnowledgeTree = repo.liveKnowledgeTree

    fun knowledgeTree() {
        repo.knowledgeTree(rxLifeScope)
    }
}